import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/backend/sso/login',
    method: 'post',
    data
  })
}

export function getInfo(data) {
  return request({
    url: '/backend/my/info',
    method: 'post',
    data
  })
}

export function logout(data) {
  return request({
    url: '/backend/sso/logout',
    method: 'post',
    data: data
  })
}
